<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/pintuan/Public/Member/css/global.css' rel='stylesheet' type='text/css' />


<!-- 整体页面布局 -->
<link href='/pintuan/Public/Member/css/main.css' rel='stylesheet' type='text/css' />
<link href='/pintuan/Public/Member/css/mall.css' rel='stylesheet' type='text/css' />

<!-- 基础js调用 -->
<script type='text/javascript' src='/pintuan/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/global.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/mall.js'></script>





<link href='/pintuan/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/pintuan/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/pintuan/Public/Member/js/operamasks-ui.min.js"></script>


<!-- 单日期日历插件 -->
<link href="/pintuan/Public/Member/css/datepicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/pintuan/Public/Member/js/datepicker.js"></script>

<!-- 双日期日历插件 -->
<link href='/pintuan/Public/Member/css/daterangepicker.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/pintuan/Public/Member/js/moment.min.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/daterangepicker.js'></script>

<script type='text/javascript'>
var web_domain='/pintuan';
var static_domain='/pintuan';
var img_domain='/pintuan';
var _PUBLIC_ = '/pintuan/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>

<script type="text/javascript" src="/pintuan/Public/Member/api/js/product.js"></script>


<script language="javascript">
      $(document).ready(product_obj.list_tui); 
</script>





</head>

<body>
    <div id="iframe_page">
        <div class="iframe_content">
            <div class="r_nav">
                <ul>
                  <li class="<?php if((ACTION_NAME) == "index"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/index');?>">拼团订单</a></li>
	              <li class="<?php if((ACTION_NAME) == "list_product"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_product');?>">产品列表</a></li>
	              <li class="<?php if((ACTION_NAME) == "list_tuan"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_tuan');?>">成团列表</a></li>
	              <li class="<?php if((ACTION_NAME) == "liucheng"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/liucheng');?>">购物规则</a></li>
              	  <li class="<?php if((ACTION_NAME) == "list_tui"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_tui');?>">退款列表</a></li>
               </ul>
            </div>
            
<div id="news" class="r_con_wrap">
        <form class="r_con_search_form" id="search_form" action="<?php echo U('Pintuan/list_tui');?>" method="post">
			
			
			时间：<input name="Time" value="<?php echo ($time); ?>" type="text" class="form_input" size="20" readonly="readonly">
			关键字：<input name="Keyword" value="<?php echo ($keyword); ?>" type="text" class="form_input" size="15" >
			<input type="submit" class="search_btn" id="search_btn" value="搜索">
			<!-- <a href="<?php echo U('Work/productExport');?>"><input type="button" class="search_btn" id="export_btn" value="导出"></a> -->
			
		</form> 
        
        <table border="0" cellpadding="5" cellspacing="0" class="r_con_table">
            <thead>
                <tr>
                	<td width="10%" nowrap="nowrap">订单号</td>
                    <td width="10%" nowrap="nowrap">昵称</td>
                    
                    <td width="10%" nowrap="nowrap">商品名</td>
                    <td width="10%" nowrap="nowrap">购买数量</td>
                    <td width="10%" nowrap="nowrap">团购价</td>
                    <td width="10%" nowrap="nowrap">成团类型</td>
                    <td width="10%" nowrap="nowrap">成团编号</td>
                    <td width="10%" nowrap="nowrap">退款金额</td>
                    <td width="10%" nowrap="nowrap">审核状态</td>
        
                    <td width="10%" nowrap="nowrap" class="last">操作</td>
                </tr>
            </thead>
            <tbody>
                <?php if(is_array($refundarr)): foreach($refundarr as $k=>$v): ?><tr >
                    <td nowrap="nowrap"><?php echo ($v["ordernumber"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["nickname"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["productname"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["productnumber"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["productprice"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["groupnumber"]); ?>&nbsp;人团</td>
                    <td nowrap="nowrap"><?php echo ($v["groupid"]); ?></td>
                    <td nowrap="nowrap"><?php echo ($v["totalprice"]); ?></td>
                     <td nowrap="nowrap"> 
	                     <?php if($v['status'] == 0): ?>未审核
		                    <?php elseif($v['status'] == 1): ?>通过
		                    <?php else: ?>未通过<?php endif; ?>
	                 </td>
	                 
 
                    <td class="last" nowrap="nowrap">
                    
                    	<?php if($v["status"] == 0): ?><a href="<?php echo U('detail_tui',array('id'=>$v['id']));?>"><img src="/pintuan/Public/Member/images/ico/mod.gif" align="absmiddle" alt="详情"  title="详情"/></a><?php else: ?><a href="<?php echo U('detail_tui',array('id'=>$v['id']));?>"><img src="/pintuan/Public/Member/images/ico/view.gif" align="absmiddle" alt="查看详情"  title="查看详情"/></a><?php endif; ?>
                        <?php if($v["status"] == 0): ?><a href="<?php echo U('remind_tui',array('id'=>$v['id']));?>"><img src="/pintuan/Public/Member/images/ico/duigou.png" align="absmiddle" alt="审核通过"  title="审核通过"/></a><?php endif; ?>
                        <?php if($v["status"] == 0): ?><a href="<?php echo U('remind_ntui',array('id'=>$v['id']));?>"><img src="/pintuan/Public/Member/images/ico/cancel.png" align="absmiddle" alt="审核不通过"  title="审核不通过"/></a><?php endif; ?>
                        <?php if($v["status"] != 0): ?><a href="<?php echo U('delete_tui',array('id'=>$v['id']));?>" title="删除" onClick="if(!confirm('删除后不可恢复，继续吗？')){return false};"><img src="/pintuan/Public/Member/images/ico/del.gif" align="absmiddle" /></a><?php endif; ?>
                    </td>
                </tr><?php endforeach; endif; ?>
            </tbody>
        </table>
        <div class="blank20"></div>
        <div id="turn_page"><?php echo ($page); ?></div>
    </div>  

    
         </div>
	</div>
</body>
</html>